package
{
	public class BinaryTreeNodeData
	{
		public var value:Number;
		public var datas:Array;
		
		public function BinaryTreeNodeData(value:Number, data:*=null)
		{
			this.value = value;
			this.datas = new Array();
			if(data){
				this.datas.push(data);
			}
		}
		
		public function appendData(nodeData:BinaryTreeNodeData):void{
			for each(var data:* in nodeData.datas){
				this.datas.push(data);
			}
		}
	}
}